]> dgit.raspbian.org Git - openjdk-25.git/commit
jlink: Hash of module differs to expected hash recorded in java.base
authorJulian Gilbey <jdg@debian.org>
Wed, 16 Oct 2024 08:41:47 +0000 (10:41 +0200)
committerMatthias Klose <doko@ubuntu.com>
Wed, 16 Oct 2024 08:41:47 +0000 (10:41 +0200)
commit748d5eb0d4d06093f7bfe790a28be5f3f5c8be46
treefda3f1627e3e8d74c71d94af7187ca0a94f043d4
parentfc0212c6c189ed5783a6c1aa9623528ab74f2d7c
jlink: Hash of module differs to expected hash recorded in java.base

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944738
Forwarded: not-needed

The cause is the use of dh_strip_nondeterminism late in the build
process.  This reorganises the jmod files, which in turn changes their
SHA256 checksums.  This would not be a problem, except that the
checksums are saved in java.base.jmod *before* the use of
dh_strip_nondeterminism.  Performing this stripping immediately after
each jmod file is created results in the checksums being consistent
throughout.

Gbp-Pq: Name reproducible-build-jmod.diff
make/CreateJmods.gmk